SnapshotProfileWidget = new Object();

SnapshotProfileWidget.props = new Object();
SnapshotProfileWidget.props.leftTemplate = null;
SnapshotProfileWidget.props.rightTemplate = null;

SnapshotProfileWidget.init = function()
{
    SnapshotProfileWidget.props.leftTemplate = _.template($('#widget_snapshot_profile_template_left').html());
    SnapshotProfileWidget.props.rightTemplate = _.template($('#widget_snapshot_profile_template_right').html());
}

SnapshotProfileWidget.showTop = function(item)
{
    $('#widget_snapshot_profile_DIV_4').html(SnapshotProfileWidget.props.leftTemplate({data: item.props}));
    $('#widget_snapshot_profile_DIV_57').html(SnapshotProfileWidget.props.rightTemplate({data: item.props}));
}